#!/bin/bash

HOSTS="creek01,creek01,creek02,creek02,creek03,creek03,creek04,creek04,creek05,creek05,creek07,creek07,creek08,creek08"
AM="1 2 3 4 5 6 7 8 10 12 16 18"

for i in $AM
do
	mpirun -host $HOSTS -np $i ./MPIhello | tee -a "out.dat"
	echo >> "out.dat"
done
